Home
last modified time | relevance | path

Searched hist:"5 a742b55" (Results 1 – 1 of 1) sorted by path

/qemu/block/
H A Dvvfat.c5a742b55 Wed Oct 05 07:12:06 GMT 2011 Paolo Bonzini <pbonzini@redhat.com> vvfat: unify and correct computation of sector count

The sector count is stored in the partition and hence must not include the
sectors before its start. At the same time, remove the useless special
casing for 1.44 MB floppies. This fixes fsck on VVFAT hard disks,
which otherwise tries to seek past the end of the disk.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>